package com.example.jdbc.pattern.proxy.staticproxy;

import com.example.jdbc.pattern.service.PrintService;
import com.example.jdbc.pattern.service.impl.PrintServiceImpl;

/**
 * @author ：wuhong-016
 * @version v1.0.0
 * @Create : 2021/1/4 18:55
 * @Description : TODO
 **/
public class TestStaticProxy {

    public static void main(String[] args) {
        PrintService printService = new PrintServiceImpl();

        StaticProxyImpl staticProxy = new StaticProxyImpl(printService);
        staticProxy.doPrint("TestStaticProxy");
    }

}
